//
//  ffmpegWrapper.h
//  ffmpegWrapper
//
//  Created by huchundong on 16/3/26.
//  Copyright © 2016年 xiaomi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ILVideoMaker : NSObject
@property(nonatomic, assign)NSInteger   frameRate;
- (BOOL)startAsynCaptureVideo:(float)videoWidth withHeight:(float)height;
- (void)stopAsynCaptureVideo:(void (^)(NSString*))callBack;
- (void)stopAsynCaptureVideo:(void (^)(NSString*))callBack fail:(void(^)(NSError*))failBlock;
- (void)writeFrame:(void *)frame;
- (void)writePacket:(void *)pkt;
- (void)writeAudio:(void*)data length:(int)length;
- (void)writeVideo:(void*)data length:(int)length;
//- (void)setFrameRate:(int)rate;
@end
